package smlab.media.FLVPlayer.view.state
{
	import smlab.media.FLVPlayer.CoreGlobal;
	import smlab.media.FLVPlayer.events.StateEvent;
	import smlab.view.state.Container_SM;

	/**
	 * 广告场景（目前流行的播放器都在播放器加载一段广告）
	 * @author simon
	 * 
	 */
	public class ADState extends Container_SM
	{
		public function ADState()
		{
			super();
		}
		
		override public function initialize():void{
			this.initialized=true;
			dispatchEvent(new StateEvent(StateEvent.STATE_INITIALIZED));
		}
		
		override public function start():void{
			CoreGlobal.stateEventDispatcher.dispatchEvent(new StateEvent(StateEvent.SWITCH_TO_PLAYER_STATE));
		}
		
		override public function sleep():void{
			
		}
		
	}
}